﻿module UI {

    export class Bounds {

        public left: number = 0;

        public top: number = 0;

        public width: number = 0;

        public height: number = 0;

        public static create(canvas: HTMLCanvasElement): Bounds {
            var result = new Bounds();
            result.left = 0;
            result.top = 0;
            result.width = canvas.width;
            result.height = canvas.height;
            return result;
        }

    }

} 